/** 欢迎使用guiPlan,以下代码均由guiPlan软件自动生成，如有疑问添加添加作者微信guiplan或加入学习交流qq群856791458  网站htpp://www.guiplan.com **/
  // interfaceCode
function getQueryVariable(variable)
{
       var query = window.location.search.substring(1);
       var vars = query.split("&");
       for (var i=0;i<vars.length;i++) {
               var pair = vars[i].split("=");
               if(pair[0] == variable){return pair[1];}
       }
       return(false);
}
var app = new Vue({
	el: '#defaultId1',
    name: '',
	mounted(){
		var wow = new WOW({    boxClass: 'wow',    animateClass: 'animated',    offset: 0,    mobile: true,    live: true})
		wow.init()
		this.wow = wow
        this.userInfo = getQueryVariable("user")
        console.log(getQueryVariable("user"))
		// defaultLoad
	},
    components: {},
    data () {
      return {
		  wow:'',
        // insertData
			// indexDataStart
		
				userInfo:'',
				downUrl:''
		// indexDataEnd
			
      }
    },
    methods: {
      default (){
      },
      // insertMethod
			// indexMethodStart
		
			downPage(){
				if(this.userInfo){ // 如果是用户分享的链接则弹出登录
				  window.open('http://file.guiplan.com/webdidaima/webdidaima2.3.2/index.html?user=' + this.userInfo + '/#/project/list')
				}else{
				  window.open('/down')
				}
				
			}
		// indexMethodEnd
			
      // methodsCode

    },
    computed: {}
})
